/*  BEGIN_FILE_HDR
******************************************Copyright(C)*****************************************
*
*                                       YKXH  Technology
*
***********************************File Info***************************************************
*   File Name       : App_Boot.h
************************************************************************************************
*   Project/Product : Bootloader
*   Title           : Timer module Header File
*   Author          : zhongliang.Yang 
************************************************************************************************
*   Description     : This file is used to implement the callback function.
*                     
************************************************************************************************
*   Limitations     : None
*
************************************************************************************************
*
************************************************************************************************
*   Revision History:
* 
*   Version     Date          Initials           CR#         Descriptions
*   --------    -----------   ----------------   --------    -----------------------
*   1.0         2018/05/29    zhongliang.yang    N/A         Original 
*   1.1         xxxx/xx/xx    xxxxx              N/A         xxxxxxxx 
*     
************************************************************************************************
* END_FILE_HDR*/

#ifndef __APP_BOOT_H__
#define __APP_BOOT_H__

//#include "BaseComm.h"

#define DCM_REPROGRAMFLAG   0x20006F00//0x20006F00
#define DCM_RESETFLAG       0x20006F08//0x20006F08
#define DCM_SPREPONSFLAG    0x20006F0C//0x20006F0C

#define VERSION_ADDRESS     0xCF8000U
#define VERSION_DATA        0xA1A2A3A4

extern uint8  gsPendingFlag ;
extern uint32 spresponseflag ;

extern void   Boot_CheckToBoot(void);
extern void   Feed_Watchdog(void);


#endif /* __APP_BOOT_H__ */
